package com.scs.application.modules.upms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.scs.application.core.model.TreeEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 菜单信息
 */
@Data
@Accessors(chain = true)
@TableName(value = "menu")
public class Menu extends TreeEntity implements Serializable {

    private String type;

    private String code;

    private String name;

    private String icon;

    private String url;

    private String permissions;

    private Integer isShow;

    private String target;

    @JsonProperty("flagApp")
    private Boolean flagApp;

    private String badgeUrl;
    private String badgeField;

}
